home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
kernel
/
dev
/
ds5000.md
/
devInt.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-18
|
1KB
|
44 lines
/*
* devInt.h --
*
* Internal globals and constants needed for the dev module.
*
* Copyright (C) 1989 Digital Equipment Corporation.
* Permission to use, copy, modify, and distribute this software and
* its documentation for any purpose and without fee is hereby granted,
* provided that the above copyright notice appears in all copies.
* Digital Equipment Corporation makes no representations about the
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
*
* $Header: /cdrom/src/kernel/Cvsroot/kernel/dev/ds5000.md/devInt.h,v 1.2 91/05/08 16:30:24 jhh Exp $ SPRITE (DECWRL)
*/
#ifndef _DEVINT
#define _DEVINT
/*
* A configuration table that describes the controllers in the system.
*/
typedef struct DevConfigController {
char *name; /* Identifying string used in print statements */
int slot; /* The IO slot that contains the controller. */
int controllerID; /* Controller number: 0, 1, 2... */
ClientData (*initProc)(); /* Initialization procedure */
} DevConfigController;
/*
* Special valued returned from Controller init procedures indicating
* the controller doesn't exists.
*/
#define DEV_NO_CONTROLLER ((ClientData) 0)
/*
* The controller configuration table.
*/
extern DevConfigController devCntrlr[];
extern int devNumConfigCntrlrs;
#endif /* _DEVINT */